package org.misty.seckill.service;

import org.misty.seckill.vo.SGoodsVo;

import java.util.List;

public interface GoodsService {
  List<SGoodsVo> listSecKills();

  SGoodsVo getDetailBySid(long id);

  SGoodsVo getDetailByOid(long orderId);

  int decrStock(long sid, int count);

  int resetStock(int total);
}
